package ntd.util.ai.action.impl;

import cn.hutool.core.util.StrUtil;
import ntd.util.ai.action.AiAction;
import ntd.util.ai.action.bo.AiActionBo;

/**
 * 监听
 */
public class AiActionTcpListenPort implements AiAction {

    @Override
    public String execute(String input) {
        return StrUtil.format("tcp端口[{}]正在监听中...", input);
    }

    @Override
    public AiActionBo info() {
        return new AiActionBo("AI默认功能", "listen-tcp-port", new AiActionTcpListenPort());
    }
}
